using System;

[Serializable]
public class LocaleString
{
	public static implicit operator string(LocaleString val)
	{
		return (string)val.GetType().GetField(Locale.name).GetValue(val);
	}

	public override string ToString()
	{
		return (string)base.GetType().GetField(Locale.name).GetValue(this);
	}

	public void Set(string locale, string value)
	{
		base.GetType().GetField(locale).SetValue(this, value);
	}

	public void SetAll(string value)
	{
		this.DE = value;
		this.NO = value;
		this.DK = value;
		this.SE = value;
		this.EN = value;
	}

	public string EN;

	public string SE;

	public string DK;

	public string NO;

	public string DE;
}
